ggplot is still rough. We need to:
In [2]:
from ggplot import *
%matplotlib inline
Output matplotlib figures as d3 charts.
In [3]:
from mpld3 import enable_notebook, save_json
enable_notebook()
p = ggplot(aes(x='price'), data=diamonds)
p + geom_histogram()
Out[3]:
In [ ]: